/*
 * Copyright (c) 2024.  little3201.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *       https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.server.starter.exploiter.vo;

import com.server.starter.exploiter.bo.FieldBO;

import java.time.Instant;

/**
 * vo class for field.
 *
 * @author wq li
 */
public class FieldVO extends FieldBO {

    /**
     * Unique identifier for the template.
     */
    private Long id;

    /**
     * Timestamp of the last modification.
     */
    private Instant lastModifiedDate;

    /**
     * Gets the unique identifier for the template.
     *
     * @return the template ID
     */
    public Long getId() {
        return id;
    }

    /**
     * Sets the unique identifier for the template.
     *
     * @param id the template ID to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * Gets the timestamp of the last modification.
     *
     * @return the last modified date
     */
    public Instant getLastModifiedDate() {
        return lastModifiedDate;
    }

    /**
     * Sets the timestamp of the last modification.
     *
     * @param lastModifiedDate the last modified date to set
     */
    public void setLastModifiedDate(Instant lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

}
